package com.pxl.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxl.springbootinit.model.dto.task.TaskReviewForm;
import com.pxl.springbootinit.model.entity.TaskReview;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxl.springbootinit.model.vo.TaskReviewVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author MADAO
* @description 针对表【task_review(任务评价表)】的数据库操作Service
* @createDate 2024-12-20 11:59:03
*/
public interface TaskReviewService extends IService<TaskReview> {

    Boolean addReview(TaskReviewForm taskReviewForm);

    Page<TaskReviewVO> pageReview(TaskReviewForm taskReviewForm);

    List<TaskReviewVO> myReview(HttpServletRequest request);
}
